<include file="Public/header" />
<title>计划入库单详情</title>
</head>
<style>
@media print {
	.noprint { display: none; }
	#emstable {page-break-after:always;}
}
</style>
<body>
<div class="pd-20">

	<table class="table table-border table-bordered table-bg">

		<tbody>
			<tr class="text-c">
				<td width="15%" class="text-r" style="background-color:#f5f5f5">订单编号</td>
				<td class="text-l">
					<{$detail.order_no}>
				</td>
				<td width="15%" class="text-r" style="background-color:#f5f5f5">申请部门</td>
				<td class="text-l">
					<{$detail.section}>
				</td>						
			</tr>
			
		</tbody>
	</table>
	
	<table class="table table-border table-bordered table-hover table-bg">
		<thead>
			<tr>
				<th scope="col" colspan="10">原料列表</th>
			</tr>
			<tr class="text-c">
				<th width="40">ID</th>
				<th width="40">销售单编号</th>
				<th width="40">商品编码</th>
				<th width="40">商品名称</th>
				<th width="40">销售单价(人民币/kg)</th>
				<th width="40">重量(kg)</th>
				<th width="40">规格</th>
				<th width="40">原产国</th>
			</tr>
		</thead>
		<tbody>
			<volist name="list" id="vo">
			<tr class="text-c">
			 <input  name='gid' type="hidden" style="width:80px;" value="<{$vo['id']}>"/>
				<td><{$vo.id}></td>
				<td><span><{$detail.order_no}></span></td>
				<td><{$vo.goods_sn}></td>
				<td><{$vo.goods_name}></td>
				<td>
					<{$vo['goods_price']}>
				</td>
				<td>
					<{$vo.weight}>
				</td>
				<td>
					<{$vo.spec}>
				</td>
				<td>
					 <select name="country_code" class="form-control selects" 
						 <volist name="country" id="vcc">
							<if condition="$vcc['country_code'] == $vo['source']">disabled="disabled"  style="width:130px;background:#ccc;"
							</if>
						 </volist>
					 >
                         <option value="">请选择</option>
                         <volist name="country" id="vcc">
                             <option value="<{$vcc.country_code}>" <if condition="$vcc['country_code'] == $vo['source']">selected</if>><{$vcc.country_name}></option>
                         </volist>
                     </select>
				</td>
	
			</tr>
			</volist>
		</tbody>
	</table>
	<button onclick="window.print()"  class="btn btn-primary radius noprint">打印</button>
<div class="pages">
<{$page}>
</div>
</div>
 <include file="Public/footer" />
<include file="Public/footer_js" />
</body>
</html>